﻿
@{
    ViewBag.Title = "TestForTabPanel";
    Layout = "~/Views/Shared/_LayoutForClear.cshtml";
}

<div id="testM@(ViewBag.mat)" class="easyui-panel" data-options="fit:true,border:false">
    panel2内部的文字：@ViewBag.mat
    <br />
    <a id="ate@(ViewBag.mat)" class="easyui-linkbutton" data-options="iconCls:'icon-add'">去掉panel2的边框</a>
    <br />
    参数：<input id="mat" name="mat" value="@ViewBag.mat" type="text" />
</div>

<script>
    $(function () {
        $("#ate@(ViewBag.mat)").click(function () {

            $("#testM@(ViewBag.mat)").css({ border: "0px" });

        });
    });
</script>

